package com.erlang4j.api.exceptions;

import com.erlang4j.api.ISendMailBox;
import com.erlang4j.internal.exceptions.Erlang4jException;
import com.erlang4j.internal.exceptions.Erlang4jExceptionConstants;

/**
 * In the {@link ISendMailBox} method a parameter can be referenced in the pattern that is not provided in the
 * parameters. For examples if the pattern was {Self,{send,P0,P1}} then this would be thrown if zero or one parameters
 * were passed.
 */
public class Erlang4jMissingParameterException extends Erlang4jException {

	public Erlang4jMissingParameterException(String parameter) {
		super(Erlang4jExceptionConstants.missingParameterException, parameter);
	}

}
